package game;

import sengine.Character;
import sengine.EnemyCharacter;
import sengine.Texture;

/**
 *
 * @author twoodf5611
 */
public class ContactEnemy extends EnemyCharacter implements Weapon {
    
    public ContactEnemy(int x, int y) {
        super(x, y);
        height = 50;
        setHealth(10);
        setTexture(Texture.loadTexture("contact-enemy.png"));
    }

    @Override
    public void collideTarget(Character target) {
        target.changeHealth(-20);
    }
    
}
